import { createContext } from 'react'

type ContextType = {
  lang: string
  setLang: (_: string) => void
  theme: string
  setTheme: (_: string) => void
}

export const GlobalContext = createContext<ContextType>({
  lang: '',
  setLang: function (_: string): void {},
  theme: '',
  setTheme: function (_: string): void {},
})
